﻿using System;
using System.Collections.Generic;
 using UnityEngine;
using System.Text;

 /// <summary>
 /// 敌人策略
 /// </summary>
    class EnemyAttrStrategy:IAttrStrategy
    {
     public int GetExtraHPValue(int lv)
     {
         return 0;
     }

     public int GetDmgDescValue(int lv)
     {
         return 0;
     }

     public int GetCritDmg(float critRate)
     {
         if (UnityEngine.Random.Range(0,1f)<critRate)
         {
             return (int)(10*UnityEngine.Random.Range(0.5f,1f));
         }
         return 0;

     }
    }
 
